.App {
  text-align: center;
}

.App-logo {
  height: 40vmin;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .App-logo {
    animation: App-logo-spin infinite 20s linear;
  }
}

.App-header {
  background-color: #282c34;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: calc(10px + 2vmin);
  color: white;
}

.App-link {
  color: #61dafb;
}

@keyframes App-logo-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.content {
  width: 70%;
  margin-left: 15%;
  padding: 20px 0
}

.content .ant-card {
    margin-bottom: 20px;
    border-radius: 10px;
}
  .content .ant-card-body {
    padding: 0;
    border-radius: 10px;
  }

  .content .ant-card-meta {
    margin: 15px 15px 40px 15px;
  }

  .content .ant-card-meta .ant-card-meta-description {
    position: absolute;
    bottom: 15px;
    width: calc(100% - 30px);
  }
  .content .ant-image > img {
    border-radius: 10px 10px 0 0
  }
  .content .ant-image > .ant-image-mask {
    border-radius: 10px 10px 0 0
  }

  .content .ant-card-meta .ant-card-meta-description .icon {
    margin-right: 12px;
    display: inline-block;
  }

  
  .content .ant-card-meta .ant-card-meta-description .date {
    margin-right: 12px;
    /* display: inline-block; */
    float: left;
  }

  
  
  .content .ant-card-meta .ant-card-meta-description .like {
    margin-right: 0;
  }

/* 针对小屏幕设备的媒体查询 */
@media (max-width: 768px) {
  .content {
    width: 100%; /* 宽度铺满整个屏幕 */
    padding: 0; /* 移除左右内边距 */
    margin: 0; /* 移除外边距 */
  }

  .content .ant-card {
    margin: 0; /* 移除卡片的外边距 */
  }

  .content .ant-image > img {
    width: 100%; /* 图片宽度铺满父容器 */
    height: auto; /* 高度自适应保持图片比例 */
    border-radius: 5; /* 移除圆角 */
  }
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: #e0e0e0; /* 背景颜色 */
  color: #333; /* 文字颜色 */
}

.header-title {
  font-size: 1.5em; /* 标题字体大小 */
}

.header-actions {
  display: flex;
  gap: 10px; /* 按钮之间的间距 */
}

.header-action {
  padding: 5px 10px; /* 按钮内边距 */
  font-size: 1em; /* 按钮字体大小 */
  background-color: #f8f8f8; /* 按钮背景颜色 */
  border: 1px solid #ccc; /* 按钮边框 */
  cursor: pointer; /* 鼠标悬停时显示为手形 */
}

/* 悬停在按钮上时改变颜色 */
.header-action:hover {
  background-color: #e0e0e0;
}